package com.pds.web.testOrganizationInfo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pds.web.testOrganizationInfo.domain.PdsTestOrganizationPlace;

import java.util.List;

public interface PdsTestOrganizationPlaceMapper extends BaseMapper<PdsTestOrganizationPlace> {

    /**
     * 新增
     *
     * @param pdsTestOrganizationPlace
     */
    int addPlace(PdsTestOrganizationPlace pdsTestOrganizationPlace);

    /**
     * 删除 -- 根据id
     *
     * @param id
     */
    int deletePace(Long id);

    /**
     * 更新
     *
     * @param pdsTestOrganizationPlace
     */
    int updatePlace(PdsTestOrganizationPlace pdsTestOrganizationPlace);

    /**
     * 查询 -- 分页/条件：userId，status
     *
     * @param pdsTestOrganizationPlace
     * @return
     */
    List<PdsTestOrganizationPlace> selectPlaceList(PdsTestOrganizationPlace pdsTestOrganizationPlace);
}
